package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.SaleList;
import com.atguigu.jxc.entity.SaleListGoods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * description
 *
 * @author SZ
 * @date 2022/9/26/8:51
 */
public interface SaleListDao {
    void save(SaleList saleList);

    List<SaleListGoods> getList(@Param ("saleNumber") String saleNumber,
                                @Param ("customerId") Integer customerId,
                                @Param ("state") Integer state,
                                @Param ("sTime") String sTime,
                                @Param ("eTime") String eTime);

    void deleteById(@Param ("saleListId") Integer saleListId);
}
